package 反射.jdk动态代理.v1;

public class Programmer implements People {
	
	People p;

	@Override
	public String workAndGetReward() {
		System.out.println("Programmer works hard under 996.");
		return p.reward();
	}

	@Override
	public String reward() {
		return "Then he goes icu.";
	}

}
